package com.github.sbb.sherry.primitives.config.calcparam;

import com.github.sbb.sherry.common.annotations.NotNull;
import com.github.sbb.sherry.common.base.ValidateResult;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Setter
@Getter
@ToString
public class RuleParamConfig {

  private String name;

  private String paramAlias;

  private Byte type;

  private String parameterType;

  private String defaultValue;

  private String fetcher;

  private String converter;

  private String expression;

  private String expressionSymbols;

  @NotNull
  public ValidateResult validate() {
    return new ValidateResult(true, null);
  }
}